<?php
namespace zake\server\ws;

use zake\foundation\point\WebSocket;
use zake\foundation\reactor\trigger\Listen;

/**
 * Class WsListen
 * @package zake\server\http
 */
class WsListen extends Listen
{

    /**
     * 构造器
     *
     * HttpListen constructor.
     * @param $uri
     */
    protected function __construct($uri)
    {
        parent::__construct($uri);
        $this->setConnect(WsLogicConnect::class);
        $this->setProtocol(WebSocket::singleton());
    }


}
